import { Routes, Route, Link } from 'react-router-dom';
import Home from './Home'
import About from './About'

function App() {
  return (
    <>
      <Link to="/home">Home</Link> |
      &nbsp;
      <Link to="/about">About</Link>
      <Routes>
        <Route path="/" element={<Home />}></Route>
        <Route path="/home" element={<Home />}></Route>
        <Route path="/about" element={<About />}></Route>
      </Routes>
    </>
  );
}

export default App;
